Integrand size = 18, antiderivative size = 14 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\log (\sin (a+b x))}{2 b} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {4372, 3556} \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\log (\sin (a+b x))}{2 b} \]
[In]
[Out]
Rule 3556
Rule 4372
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \int \cot (a+b x) \, dx \\ & = \frac {\log (\sin (a+b x))}{2 b} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.93 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {1}{2} \left (\frac {\log (\cos (a+b x))}{b}+\frac {\log (\tan (a+b x))}{b}\right ) \]
[In]
[Out]
Time = 0.48 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.93
method | result | size |
default | \(\frac {\ln \left (\sin \left (x b +a \right )\right )}{2 b}\) | \(13\) |
risch | \(-\frac {i x}{2}-\frac {i a}{b}+\frac {\ln \left ({\mathrm e}^{2 i \left (x b +a \right )}-1\right )}{2 b}\) | \(30\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.00 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\log \left (\frac {1}{2} \, \sin \left (b x + a\right )\right )}{2 \, b} \]
[In]
[Out]
Timed out. \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 82 vs. \(2 (12) = 24\).
Time = 0.23 (sec) , antiderivative size = 82, normalized size of antiderivative = 5.86 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\log \left (\cos \left (b x\right )^{2} + 2 \, \cos \left (b x\right ) \cos \left (a\right ) + \cos \left (a\right )^{2} + \sin \left (b x\right )^{2} - 2 \, \sin \left (b x\right ) \sin \left (a\right ) + \sin \left (a\right )^{2}\right ) + \log \left (\cos \left (b x\right )^{2} - 2 \, \cos \left (b x\right ) \cos \left (a\right ) + \cos \left (a\right )^{2} + \sin \left (b x\right )^{2} + 2 \, \sin \left (b x\right ) \sin \left (a\right ) + \sin \left (a\right )^{2}\right )}{4 \, b} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.93 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\log \left ({\left | \sin \left (b x + a\right ) \right |}\right )}{2 \, b} \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.00 \[ \int \cos ^2(a+b x) \csc (2 a+2 b x) \, dx=\frac {\ln \left ({\sin \left (a+b\,x\right )}^2\right )}{4\,b} \]
[In]
[Out]